﻿using Coolzon.UI.Common.Event.Web;
using Coolzon.UI.Common.WebProxies;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coolzon.UI.ViewerApp
{
    public static class Startup
    {
        /// <summary>
        /// 执行程序启动相关操作
        /// </summary>
        /// <returns></returns>
        public static bool Run()
        {
            WebEventProxy.Instance.BaseUrl = Config.AppSettings.WebAppBaseUrl;
            WebEventBus.Register(WebEventProxy.Instance);

            return true;
        }
    }
}
